home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / santas_deed.swf / scripts / DefineSprite_450 / frame_3 / DoAction.as
Text File  |  2007-01-15  |  12KB  |  324 lines

  1. var ┬º\x01┬º = 573;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 573)
  6.    {
  7.       set("\x01",eval("\x01") - 32);
  8.       ┬º┬ºpush(true);
  9.       continue;
  10.    }
  11.    if(eval("\x01") == 522)
  12.    {
  13.       set("\x01",eval("\x01") - 49);
  14.       if(┬º┬ºpop())
  15.       {
  16.          set("\x01",eval("\x01") - 110);
  17.       }
  18.       continue;
  19.    }
  20.    if(eval("\x01") == 363)
  21.    {
  22.       set("\x01",eval("\x01") - 245);
  23.       ┬º┬ºpush(true);
  24.       continue;
  25.    }
  26.    if(eval("\x01") == 541)
  27.    {
  28.       set("\x01",eval("\x01") - 424);
  29.       if(┬º┬ºpop())
  30.       {
  31.          set("\x01",eval("\x01") + 649);
  32.       }
  33.       continue;
  34.    }
  35.    if(eval("\x01") == 268)
  36.    {
  37.       set("\x01",eval("\x01") + 427);
  38.       ┬º┬ºpush(true);
  39.       continue;
  40.    }
  41.    if(eval("\x01") == 117)
  42.    {
  43.       set("\x01",eval("\x01") + 649);
  44.       break;
  45.    }
  46.    if(eval("\x01") == 642)
  47.    {
  48.       set("\x01",eval("\x01") - 374);
  49.       break;
  50.    }
  51.    if(eval("\x01") == 387)
  52.    {
  53.       set("\x01",eval("\x01") + 485);
  54.       ┬º┬ºpush(true);
  55.       continue;
  56.    }
  57.    if(eval("\x01") == 473)
  58.    {
  59.       set("\x01",eval("\x01") - 110);
  60.       toggleHighQuality();
  61.       stopAllSounds();
  62.       var _loc3_ = ┬º┬ºpop()[┬º┬ºpop()][┬º┬ºconstant(5)]();
  63.       _loc3_[┬º┬ºconstant(6)] = _loc4_[┬º┬ºconstant(6)] + eval(┬º┬ºconstant(14));
  64.       _loc3_[┬º┬ºconstant(7)] = _loc2_[┬º┬ºconstant(7)];
  65.       var _loc5_ = _loc1_[┬º┬ºconstant(9)][┬º┬ºconstant(5)](┬º┬ºconstant(13),┬º┬ºconstant(16),_loc1_[┬º┬ºconstant(9)][┬º┬ºconstant(2)]());
  66.       _loc5_[┬º┬ºconstant(6)] = _loc3_[┬º┬ºconstant(6)] + eval(┬º┬ºconstant(14));
  67.       _loc5_[┬º┬ºconstant(7)] = _loc2_[┬º┬ºconstant(7)];
  68.       var _loc6_ = _loc1_[┬º┬ºconstant(17)][┬º┬ºconstant(5)](┬º┬ºconstant(19),┬º┬ºconstant(18),_loc1_[┬º┬ºconstant(17)][┬º┬ºconstant(2)]());
  69.       _loc6_[┬º┬ºconstant(6)] = 1080;
  70.       _loc6_[┬º┬ºconstant(7)] = 360;
  71.       var _loc7_ = _loc1_[┬º┬ºconstant(20)][┬º┬ºconstant(5)](┬º┬ºconstant(22),┬º┬ºconstant(21),_loc1_[┬º┬ºconstant(20)][┬º┬ºconstant(2)]());
  72.       _loc7_[┬º┬ºconstant(6)] = 1549;
  73.       _loc7_[┬º┬ºconstant(7)] = 365;
  74.       var _loc8_ = _loc1_[┬º┬ºconstant(23)][┬º┬ºconstant(5)](┬º┬ºconstant(25),┬º┬ºconstant(24),_loc1_[┬º┬ºconstant(23)][┬º┬ºconstant(2)]());
  75.       _loc8_[┬º┬ºconstant(6)] = 1760;
  76.       _loc8_[┬º┬ºconstant(7)] = 180;
  77.       eval(┬º┬ºconstant(26))[┬º┬ºconstant(27)] = eval(┬º┬ºconstant(28));
  78.       var ┬º┬ºconstant(14) = 250;
  79.       var ┬º┬ºconstant(29) = 3 + (-1 + eval(┬º┬ºconstant(26))[┬º┬ºconstant(30)][┬º┬ºconstant(31)]);
  80.       var ┬º┬ºconstant(32) = 20;
  81.       var ┬º┬ºconstant(33) = 20;
  82.       var ┬º┬ºconstant(34) = 0;
  83.       var ┬º┬ºconstant(35) = 0;
  84.       var ┬º┬ºconstant(36) = 0;
  85.       var ┬º┬ºconstant(37) = [];
  86.       var ┬º┬ºconstant(38) = 5;
  87.       var ┬º┬ºconstant(39) = 5 + (-1 + eval(┬º┬ºconstant(26))[┬º┬ºconstant(30)][┬º┬ºconstant(31)]);
  88.       var ┬º┬ºconstant(40) = 5 + (-1 + eval(┬º┬ºconstant(26))[┬º┬ºconstant(30)][┬º┬ºconstant(31)]);
  89.       var ┬º┬ºconstant(41) = true;
  90.       eval(┬º┬ºconstant(26))[┬º┬ºconstant(42)][┬º┬ºconstant(43)]();
  91.       eval(┬º┬ºconstant(37))[┬º┬ºconstant(44)](1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
  92.       eval(┬º┬ºconstant(28))[┬º┬ºconstant(45)] = function()
  93.       {
  94.          if(_global[┬º┬ºconstant(46)][┬º┬ºconstant(47)])
  95.          {
  96.             return undefined;
  97.          }
  98.          if(getProperty(┬º┬ºconstant(48), _ymouse) > 80 && getProperty(┬º┬ºconstant(48), _ymouse) < 240)
  99.          {
  100.             eval(┬º┬ºconstant(49))[┬º┬ºconstant(7)] = getProperty(┬º┬ºconstant(48), _ymouse);
  101.          }
  102.          if(getProperty(┬º┬ºconstant(48), _xmouse) > 100 && getProperty(┬º┬ºconstant(48), _xmouse) < 500)
  103.          {
  104.             var _loc2_ = getProperty(┬º┬ºconstant(48), _xmouse) - eval(┬º┬ºconstant(49))[┬º┬ºconstant(6)];
  105.             if(_loc2_ > 30 || _loc2_ < -30)
  106.             {
  107.                if(_loc2_ < 0)
  108.                {
  109.                   eval(┬º┬ºconstant(49))[┬º┬ºconstant(6)] = getProperty(┬º┬ºconstant(48), _xmouse) + 10;
  110.                }
  111.                else
  112.                {
  113.                   eval(┬º┬ºconstant(49))[┬º┬ºconstant(6)] = getProperty(┬º┬ºconstant(48), _xmouse) - 10;
  114.                }
  115.             }
  116.          }
  117.       };
  118.       break;
  119.    }
  120.    if(eval("\x01") == 118)
  121.    {
  122.       set("\x01",eval("\x01") + 781);
  123.       if(┬º┬ºpop())
  124.       {
  125.          set("\x01",eval("\x01") - 512);
  126.       }
  127.       continue;
  128.    }
  129.    if(eval("\x01") == 695)
  130.    {
  131.       set("\x01",eval("\x01") + 297);
  132.       if(┬º┬ºpop())
  133.       {
  134.          set("\x01",eval("\x01") - 991);
  135.       }
  136.       continue;
  137.    }
  138.    if(eval("\x01") != 992)
  139.    {
  140.       if(eval("\x01") != 872)
  141.       {
  142.          if(eval("\x01") == 766)
  143.          {
  144.             set("\x01",eval("\x01") - 244);
  145.             ┬º┬ºpush(true);
  146.             continue;
  147.          }
  148.          if(eval("\x01") == 638)
  149.          {
  150.             set("\x01",eval("\x01") - 299);
  151.             if(┬º┬ºpop())
  152.             {
  153.                set("\x01",eval("\x01") + 503);
  154.             }
  155.             continue;
  156.          }
  157.          if(eval("\x01") != 39)
  158.          {
  159.             if(eval("\x01") != 388)
  160.             {
  161.                if(eval("\x01") == 339)
  162.                {
  163.                   set("\x01",eval("\x01") + 503);
  164.                   break;
  165.                }
  166.                if(eval("\x01") == 253)
  167.                {
  168.                   set("\x01",eval("\x01") - 214);
  169.                   break;
  170.                }
  171.                if(eval("\x01") == 899)
  172.                {
  173.                   set("\x01",eval("\x01") - 512);
  174.                   break;
  175.                }
  176.                if(eval("\x01") == 949)
  177.                {
  178.                   set("\x01",eval("\x01") - 307);
  179.                   if(┬º┬ºpop())
  180.                   {
  181.                      set("\x01",eval("\x01") - 374);
  182.                   }
  183.                   continue;
  184.                }
  185.                if(eval("\x01") != 1)
  186.                {
  187.                   if(eval("\x01") != 338)
  188.                   {
  189.                      if(eval("\x01") == 215)
  190.                      {
  191.                         set("\x01",eval("\x01") + 173);
  192.                         break;
  193.                      }
  194.                      if(eval("\x01") == 842)
  195.                      {
  196.                         set("\x01",eval("\x01") - 416);
  197.                         stop();
  198.                         addMCS();
  199.                         break;
  200.                      }
  201.                   }
  202.                   set("\x01",eval("\x01") - 123);
  203.                   if(┬º┬ºpop())
  204.                   {
  205.                      set("\x01",eval("\x01") + 173);
  206.                   }
  207.                }
  208.                set("\x01",eval("\x01") + 337);
  209.             }
  210.             set("\x01",eval("\x01") + 250);
  211.             ┬º┬ºpush(true);
  212.             continue;
  213.             ┬º┬ºpush(true);
  214.          }
  215.          set("\x01",eval("\x01") + 910);
  216.          ┬º┬ºpush(true);
  217.       }
  218.       set("\x01",eval("\x01") - 619);
  219.       if(┬º┬ºpop())
  220.       {
  221.          set("\x01",eval("\x01") - 214);
  222.       }
  223.       continue;
  224.       continue;
  225.       continue;
  226.       continue;
  227.       break;
  228.    }
  229.    set("\x01",eval("\x01") - 991);
  230.    while(true)
  231.    {
  232.       if(eval(┬º┬ºconstant(74)) >= eval(┬º┬ºconstant(75)) && eval(┬º┬ºconstant(75)) > 0)
  233.       {
  234.          eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(12)] = 600 + eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(16)];
  235.          eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(14)] = _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(14)];
  236.          eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(67)]();
  237.          set(┬º┬ºconstant(70),eval(┬º┬ºconstant(70)) + 1);
  238.          set(┬º┬ºconstant(74),1);
  239.       }
  240.       else
  241.       {
  242.          set(┬º┬ºconstant(74),eval(┬º┬ºconstant(74)) + 1);
  243.       }
  244.       while(true)
  245.       {
  246.          var _loc0_ = null;
  247.          if((_loc0_ = ┬º┬ºpop()) == null)
  248.          {
  249.             stop();
  250.             eval(┬º┬ºconstant(76))[┬º┬ºconstant(77)] = eval(┬º┬ºconstant(78));
  251.             var ┬º┬ºconstant(28) = [];
  252.             var ┬º┬ºconstant(6) = 0;
  253.             var ┬º┬ºconstant(22) = 0;
  254.             var ┬º┬ºconstant(25) = 0;
  255.             var ┬º┬ºconstant(44) = [];
  256.             var ┬º┬ºconstant(45) = [];
  257.             var ┬º┬ºconstant(39) = [];
  258.             var ┬º┬ºconstant(32) = 210;
  259.             var ┬º┬ºconstant(34) = 330;
  260.             var ┬º┬ºconstant(47) = 1;
  261.             var ┬º┬ºconstant(56) = [];
  262.             var ┬º┬ºconstant(41) = [];
  263.             var ┬º┬ºconstant(58) = 1;
  264.             var ┬º┬ºconstant(55) = [];
  265.          }
  266.          var _loc10_ = _loc0_;
  267.          eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(12)] -= eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(59)];
  268.          if(eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(12)] > - eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(42)])
  269.          {
  270.             if(!eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(71)])
  271.             {
  272.                if(eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(12)] < 600)
  273.                {
  274.                   _loc6_ = eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(12)] - eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(16)];
  275.                   var _loc4_ = eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(12)] + eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(16)];
  276.                   var _loc2_ = _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(12)] - _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(16)];
  277.                   _loc8_ = _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(12)] + _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(16)];
  278.                   _loc5_ = eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(14)] - eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(72)];
  279.                   _loc3_ = eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(14)] + eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(72)];
  280.                   var _loc9_ = _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(14)] - _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(72)];
  281.                   _loc7_ = _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(14)] + _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(72)];
  282.                   if(_loc6_ >= _loc2_ && _loc6_ <= _loc8_ || _loc4_ >= _loc2_ && _loc4_ <= _loc8_)
  283.                   {
  284.                      if(_loc5_ >= _loc9_ && _loc5_ <= _loc7_ || _loc3_ >= _loc9_ && _loc3_ <= _loc7_)
  285.                      {
  286.                         eval(┬º┬ºconstant(68))[_loc10_][┬º┬ºconstant(73)]();
  287.                         _loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(73)]();
  288.                      }
  289.                   }
  290.                }
  291.             }
  292.          }
  293.          else if(eval(┬º┬ºconstant(70)) <= _loc1_[┬º┬ºconstant(19)][┬º┬ºconstant(69)])
  294.          {
  295.             break;
  296.          }
  297.          continue;
  298.          var ┬º┬ºconstant(64) = 1;
  299.          var ┬º┬ºconstant(43) = [];
  300.          var ┬º┬ºconstant(68) = [];
  301.          var ┬º┬ºconstant(70) = 1;
  302.          var ┬º┬ºconstant(61) = 0;
  303.          if(eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(57)] > 0)
  304.          {
  305.             set(┬º┬ºconstant(61),eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(54)] * ((eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(50)] + eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(63)]) / 2) / (eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(57)] * eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(20)]));
  306.          }
  307.          var ┬º┬ºconstant(60) = 1;
  308.          var ┬º┬ºconstant(66) = 0;
  309.          if(eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(63)] > 0)
  310.          {
  311.             set(┬º┬ºconstant(66),eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(54)] * ((eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(50)] + eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(57)]) / 2) / (eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(63)] * eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(20)]));
  312.          }
  313.          var ┬º┬ºconstant(65) = 1;
  314.          var ┬º┬ºconstant(75) = 0;
  315.          if(eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(69)] > 0)
  316.          {
  317.             set(┬º┬ºconstant(75),eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(54)] * ((eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(50)] + eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(57)] + eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(63)]) / 2) / (eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(69)] * eval(┬º┬ºconstant(76))[┬º┬ºconstant(19)][┬º┬ºconstant(20)]));
  318.          }
  319.          var ┬º┬ºconstant(74) = 1;
  320.          break loop0;
  321.       }
  322.    }
  323. }
  324.